package com.shop.cereshop.app.param.product;

import com.shop.cereshop.commons.domain.common.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "ProductDetailParam", description = "商品详情信息请求参数")
public class ProductDetailParam extends PageParam {
    @ApiModelProperty(value = "店铺id", required = true)
    private Long shopId;

    @ApiModelProperty(value = "根据二级分类查询出相对应的商品", required = true)
    private Long classifyId2;

    @ApiModelProperty(value = "筛选条件(0-综合,1-销量,2-最新,3-价格)")
    private Long filter;

    @ApiModelProperty(value = "排序条件(只针对价格,1-降序,2-升序)")
    private Long sort;

    @ApiModelProperty(value = "根据三级级分类查询出相对应的商品")
    private Long classifyId3;

    @ApiModelProperty(value = "商品类型()")
    private Integer type;

    @ApiModelProperty(value = "商品id集合")
    private List<Long> ids;

}
